@import '../../../theme.less';

.hrLinkWrapper {
    margin: 16px;
}

.nonPaperMaterials,
.paperMaterials {
    padding: 0 15px 15px;
    > header {
        font-weight: 600;
    }
}

.paperMaterials {
    padding-bottom: 0;
}

.materialList {
    display: flex;
    flex-wrap: wrap;
    li {
        display: flex;
        width: 50%;
        margin-bottom: 10px;
        > span:first-child {
            display: inline-block;
            width: 160px;
            text-align: right;
        }
        > span:last-child {
            flex: 1;
            margin-left: 10px;
            white-space: pre-wrap;
            word-break: break-all;
        }
    }
}

.signPanelTitle {
    display: flex;
    align-items: center;
    > span {
        margin-right: 15px;
    }
    :global {
        .ant-btn {
            height: 22px;
            margin-right: 3px;
        }
    }
}

.autoNotice {
    color: #b9b9b9;
    font-weight: 400;
}

.diploma {
    display: inline-flex;
    align-items: center;
    margin-left: 10px;
    > span {
        margin-right: 15px;
    }
}

.diploma,
.signPanelTitle {
    .diplomaDownload,
    .signPanelDownload {
        display: inline-flex;
        align-items: center;
    }
    :global {
        button,
        a {
            height: 22px;
            padding: 0;
            line-height: 22px;
        }
    }
}

.splitLine {
    width: 1px;
    height: 15px;
    margin: 0 8px;
    background-color: #eaeaea;
}

.uploadButton {
    color: rgba(0, 0, 0, 0.65);
}

.uploadWrapper {
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.downloadIcon {
    font-size: 19px;
}

.filesWrapper {
    :global {
        .file {
            display: flex;
            justify-content: space-between;
            padding: 16px;
            border-bottom: 1px solid #e8e8e8;
            &:last-child {
                border-bottom-color: transparent;
            }
            .fileBox {
                display: flex;
                flex: 1;
                justify-content: space-between;
            }
            .previewFile {
                margin-right: 10px;
            }
            .fileName,
            .previewFile,
            .deleteFile {
                cursor: pointer;
            }
        }
        .noFile {
            color: #a8a8a8;
        }
    }
}

.paperMaterialsTable {
    :global {
        .ant-table-tbody {
            > tr:hover:not(.ant-table-expanded-row):not(.ant-table-row-selected) > td {
                background-color: transparent;
            }
            > tr > td.fileColumn .file:hover {
                color: #ffa22d;
                background-color: rgba(255, 158, 0, 0.1) !important;
                .deleteFile,
                .previewFile {
                    visibility: visible;
                }
            }
            > tr > td {
                padding: 0;
                .padding-16 {
                    padding: 16px;
                }
            }
        }
    }
}

.uploadContractButton {
    color: rgba(0, 0, 0, 0.65);
    background-color: white;
    border-color: rgba(0, 0, 0, 0.08);
    i {
        margin-right: 5px;
    }
}

.employeeInfo {
    padding: 16px;
    background-color: white;
    .employeeInfoBox {
        padding-bottom: 20px;
        border-bottom: 1px solid #ededed;
    }
}

div.tooltipCls {
    max-width: none;
    :global {
        .ant-tooltip-arrow::before,
        .ant-tooltip-inner {
            background-color: #fff;
        }
        .ant-tooltip-arrow::before {
            width: 7px;
            height: 7px;
        }
    }
}
.tooltipContent {
    width: 250px;
    padding: 10px 8px;
    font-size: 14px;
    p:first-child {
        margin: 0;
        margin-bottom: 6px;
        color: rgba(0, 0, 0, 0.85);
        font-weight: bold;
        font-size: 16px;
    }
    p:nth-child(2) {
        margin: 0;
        margin-bottom: 14px;
        color: rgba(0, 0, 0, 0.65);
    }
    div {
        display: flex;
        justify-content: flex-end;
        color: @orange;
        text-align: right;
        cursor: pointer;
    }
}
